﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model.Platform.PhysicalData
{
    [Table("UserVisitLog")]
    public class UserVisitLog
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid Id { get; set; }

        /// <summary>
        ///     访问浏览器
        /// </summary>
        public String Browser { get; set; }

        /// <summary>
        ///     访问平台
        /// </summary>
        public String Platform { get; set; }

        /// <summary>
        ///     访问Ip
        /// </summary>
        public String Ip { get; set; }

        /// <summary>
        ///     访问时间
        /// </summary>
        public DateTime VisitTime { get; set; }

        /// <summary>
        ///     访问路径
        /// </summary>
        public String VisitPath { get; set; }

        /// <summary>
        ///     其他信息
        /// </summary>
        public String Others { get; set; }

        /// <summary>
        ///     状态
        /// </summary>
        public Int32 Status { get; set; }

        /// <summary>
        ///     请求类型
        /// </summary>
        public String HttpMethod { get; set; }
    }
}
